<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="/inc/header.jsp"></jsp:include>
<link href="<%=path%>/css/main5152.css" rel="stylesheet">
<div class="page-container">
	<div class="container">
		<div class="row">
			<div class="span8 page-content">
				<div class="row separator">
					<section class="span4 articles-list">
						<h3>搜索结果</h3>
						<ul class="articles">
							<c:forEach items="${texts }" var="post">
								<li class="article-entry standard">
									<h4>
										<a
											href="${pageContext.request.contextPath}/PostController?action=postSingle&id=${post.id}">${post.title }</a>
									</h4> <span class="article-meta">发布时间：${post.pubTime } <a
										href="" title="View all posts in Server &amp; Database">
											&amp; ${post.userinfo.nickname }</a></span> <span praise="false"
									id="praised" class="like-count"
									onclick="praised(${post.id},this)">${post.praised }</span>
								</li>
							</c:forEach>
						</ul>
					</section>
				</div>
			</div>
		</div>
	</div>
</div>
<jsp:include page="/inc/footer.jsp"></jsp:include>


